package cn.senjoeson.timedowner.activity;

import android.content.Intent;
import android.graphics.Paint;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import cn.senjoeson.timedowner.R;

/**
 * Created by senjoeson on 2017/12/27.
 */

public class ShowCreateHeartActivity extends AppCompatActivity {
    @BindView(R.id.create)
    TextView mCreate;
    @BindView(R.id.relativeLayout)
    RelativeLayout mRelativeLayout;
    @BindView(R.id.textView)
    TextView mTextView;
    @BindView(R.id.goback)
    TextView mGoback;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_showcreateheart);
        ButterKnife.bind(this);

        mTextView.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG);
        mCreate.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(ShowCreateHeartActivity.this, AddHeartTtileActivity.class));
                finish();
            }
        });
        mGoback.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }
}
